package com.my.test.java.collections;

public class Tree {

	public void initTree(Object root){
		
	}
	public void ergodic(){
		System.out.println("ergodic");
	}
	class TreeNode{
		public TreeNode(){}
		public TreeNode(Object obj,TreeNode parentNode,java.util.List<TreeNode> childList){
			this.obj = obj;
			this.parentNode = parentNode;
			this.childList = childList;
		}
		private Object obj;
		private TreeNode parentNode;
		private java.util.List<TreeNode> childList;
	}
}
